package com.gitee.designpattern.state.wxmp.state;

import com.gitee.designpattern.state.wxmp.entity.User;

/**
 * @author ming.yan-1
 * @version V1.0
 * @Title com.gitee.designpattern.state.wxmp.state
 * @Description
 * @date 2018/8/22  上午11:50
 */
abstract class UserState {

    /**
     * 切换下一状态
     * @param user
     */
    abstract void preState(User user);

    /**
     * 切换上一状态
     * @param user
     */
    abstract void nextState(User user);

    /**
     * 打印当前状态
     */
    abstract void printCurrentState();

}